from ChatGLM_new import zhipu_llm
from langchain_core.prompts import ChatPromptTemplate
prompt = ChatPromptTemplate.from_messages([
    ("system", "你是世界级的技术文档作者."),
    ("user", "{input}")
])

chain = prompt | zhipu_llm
response = chain.invoke({"input": "langsmith是如何帮助测试?"})
print(response.content)